package mdb.com.vn.ws.t24gold;

public class T24GoldSoapProxy implements mdb.com.vn.ws.t24gold.T24GoldSoap {
  private String _endpoint = null;
  private mdb.com.vn.ws.t24gold.T24GoldSoap t24GoldSoap = null;
  
  public T24GoldSoapProxy() {
    _initT24GoldSoapProxy();
  }
  
  public T24GoldSoapProxy(String endpoint) {
    _endpoint = endpoint;
    _initT24GoldSoapProxy();
  }
  
  private void _initT24GoldSoapProxy() {
    try {
      t24GoldSoap = (new mdb.com.vn.ws.t24gold.T24GoldLocator()).getT24GoldSoap();
      if (t24GoldSoap != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)t24GoldSoap)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)t24GoldSoap)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (t24GoldSoap != null)
      ((javax.xml.rpc.Stub)t24GoldSoap)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public mdb.com.vn.ws.t24gold.T24GoldSoap getT24GoldSoap() {
    if (t24GoldSoap == null)
      _initT24GoldSoapProxy();
    return t24GoldSoap;
  }
  
  public java.lang.String OFS(java.lang.String message) throws java.rmi.RemoteException{
    if (t24GoldSoap == null)
      _initT24GoldSoapProxy();
    return t24GoldSoap.OFS(message);
  }
  
  public java.lang.String[] JQL(java.lang.String message) throws java.rmi.RemoteException{
    if (t24GoldSoap == null)
      _initT24GoldSoapProxy();
    return t24GoldSoap.JQL(message);
  }
  
  public java.lang.String[][] JQL1(java.lang.String message) throws java.rmi.RemoteException{
    if (t24GoldSoap == null)
      _initT24GoldSoapProxy();
    return t24GoldSoap.JQL1(message);
  }
  
  public java.lang.String[][][] JQL2(java.lang.String message) throws java.rmi.RemoteException{
    if (t24GoldSoap == null)
      _initT24GoldSoapProxy();
    return t24GoldSoap.JQL2(message);
  }
  
  public java.lang.String[][][][] JQL3(java.lang.String message) throws java.rmi.RemoteException{
    if (t24GoldSoap == null)
      _initT24GoldSoapProxy();
    return t24GoldSoap.JQL3(message);
  }
  
  
}